<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 引入layui的css -->
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
    <!-- 引入自己的css -->
    <link rel="stylesheet" href="./assets/css/login.css">
</head>

<body>
    <!-- logo区 -->
    <div class="layui-main logo">
        <img src="./assets/images/logo.png" alt="">
    </div>
    <!-- -------------------------------------------------- -->



    <!-- 登录区 -->
    <div class="form-login">
        <!-- 上面的图片 -->
        <div class="login-title">
            <img src="./assets/images/login_title.png" alt="">
        </div>
        <!-- form表单区 -->
        <form class="layui-form" action="" id="login">
            <!-- 第一行 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" required lay-verify="required" placeholder="请输入账号" autocomplete="off"
                    class="layui-input">
            </div>
            <!-- 第二行 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" required lay-verify="required" placeholder="请输入密码"
                    autocomplete="off" class="layui-input">
            </div>
            <!-- 第三行 -->
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">登录</button>
            </div>
            <!-- 第四行 -->
            <div class="layui-form-item goTo_reg">
                <a href="javascript:;" id="zhuce">去注册</a>
            </div>
        </form>
    </div>
    <!-- -------------------------------------------------- -->



    <!-- 注册区 -->
    <div class="form-reg">
        <!-- 上面的图片 -->
        <div class="login-title">
            <img src="./assets/images/login_title.png" alt="">
        </div>
        <!-- form表单区 -->
        <form class="layui-form" action="" id="reg">
            <!-- 第一行 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-username"></i>
                <input type="text" name="username" lay-verify="required" placeholder="请输入账号" autocomplete="off"
                    class="layui-input">
            </div>
            <!-- 第二行 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" name="password" lay-verify="required|pwd" placeholder="请输入密码" autocomplete="off"
                    class="layui-input pwd">
            </div>
            <!-- 第三行 -->
            <div class="layui-form-item">
                <i class="layui-icon layui-icon-password"></i>
                <input type="password" lay-verify="required|repwd" placeholder="请再次输入密码" autocomplete="off"
                    class="layui-input repwd">
            </div>
            <!-- 第四行 -->
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">注册</button>
            </div>
            <!-- 第五行 -->
            <div class="layui-form-item goTo_reg">
                <a href="javascript:;" id="denglu">去登录</a>
            </div>
        </form>
    </div>
    <!-- -------------------------------------------------- -->



    <!-- 引入jQuery -->
    <script src="./assets/lib/jquery.js"></script>
    <!-- 引入layui的js -->
    <script src="./assets/lib/layui/layui.all.js"></script>
    <!-- 引入公共的基础api -->
    <script src="/assets/js/baseAPI.js"></script>
    <!-- 引入自己的js -->
    <script src="./assets/js/login.js"></script>
</body>

</html>